package com.lovelc.cn.util;

import org.I0Itec.zkclient.ZkClient;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @ClassName ZkUtil
 * @Description zk使用工具
 * @Author huangjh5
 * @Date 2021/1/4 16:03
 */
public class ZkDataSourceInstance {

    private ZkDataSourceInstance instance;

    private ZkClient zkClient;

    private ZkDataSourceInstance() {

    }

    private ZkDataSourceInstance(String url) {
        zkClient = new ZkClient(url);
    }



    //将数据改成json 保存zk



    //监控数据的改变进行更变

}
